package org.jeecg.modules.demo.baseorderproject.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.baseorderproject.entity.BaseOrderProject;
import org.jeecg.modules.demo.baseorderproject.entity.BaseOrderProjectMain;
import org.jeecg.modules.demo.baseorderproject.entity.BaseOrderProjectWriteoff;

import java.util.List;

/**
 * @Description: 查询订单核销项目列表
 * @Author: jeecg-boot
 * @Date: 2022-02-11
 * @Version: V1.0
 */
public interface IBaseOrderProjectService extends IService<BaseOrderProject> {
    IPage<BaseOrderProjectWriteoff> searchOrderProjectWriteoff(Page<BaseOrderProjectWriteoff> page, String storeId, String orderCode, String memberName,
                                                                      String memberPhone, String beginTime, String endTime);

    List<BaseOrderProjectMain> searchCanUseProjectList(Integer pageNo, Integer pageSize, String storeId, String memberId);

    List<BaseOrderProjectMain> searchHasUsedProjectList(Integer pageNo, Integer pageSize, String storeId, String memberId);
}
